import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import Register from '@/components/Register'
import Charge from '@/components/Charge'
import Test from '@/components/test'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/register',
      name: 'Register',
      component: Register
    },
    {
      path: '/charge',
      name: 'Charge',
      component: Charge
    },
    {
      path: '/test',
      name: 'Test',
      component: Test
    }
  ]
})
